package com.ruoyi.web.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户授权对象 user_empower
 * 
 * @author ruoyi
 * @date 2023-01-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserEmpower extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String userAddress;

    /** 授权地址 */
    @Excel(name = "授权地址")
    private String empowerAddress;

    /**
     * 授权哈希
     */
    private String txHash;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal num;

    /** 公链 */
    @Excel(name = "公链")
    private String chain;
}
